﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SDLITS.Common;
using SDLITS.Model;
using MySoft.Data;
using System.IO;

namespace SDLITS.Web.SystemMgr
{
    public partial class SysSelIcon : CommonBase
    {
        public string imglist = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            //Response.Write(FineUI.ActiveWindow.GetHideReference());
            string[] files = Directory.GetFiles(MapPath("/icon/"));
            foreach (string file in files)
            {
                string filename = Path.GetFileName(file);
                imglist += "<a href='javascript:;' onclick=\"SetIcon('/icon/" + filename + "');\"><img src='/icon/" + filename + "' border=0/></a>";
            }
        }
    }
}